home *** CD-ROM | disk | FTP | other *** search
/ Collection of Tools & Utilities / Collection of Tools and Utilities.iso / tex / rtextu10.zip / TAIL.DOC < prev    next >
Text File  |  1993-05-06  |  3KB  |  78 lines

  1.  
  2.  
  3.                         #######                        
  4.                            #       ##       #    #     
  5.                            #      #  #      #    #     
  6.                            #     #    #     #    #     
  7.                            #     ######     #    #     
  8.                            #     #    #     #    #     
  9.                            #     #    #     #    ######
  10.  
  11.  
  12.  
  13.  
  14. You can get part of the following documentation by invoking the program with
  15. the switches -v, -h, or -H . See README.TXT for more information.
  16.  
  17. -----------------------------------   -v   ------------------------------------
  18. TAIL v1.0 -- Show the last lines of text files
  19. Copr (c) 1992,1993 Richard Breuer. TAIL is freeware. No warranties.
  20.  
  21. This is TAIL/2 v1.0 - renamed to TAIL (from RUTILS 4).
  22.  
  23. Author: Richard Breuer
  24.         Brunssumstrasse 6
  25.         5100 Aachen
  26.         (after Jul 1, 1993: 52074 Aachen)
  27.         Germany
  28.         Europe
  29.  
  30. Phone:  +49/241/85605
  31. Fax:    +49/241/8021329
  32.  
  33. Email:  ricki@pool.informatik.rwth-aachen.de (Preferred!)
  34.  
  35. -----------------------------------   -h   ------------------------------------
  36. TAIL v1.0 -- Show the last lines of text files
  37. Copr (c) 1992,1993 Richard Breuer. TAIL is freeware. No warranties.
  38.  
  39. Usage:
  40.    TAIL [-hHqv*] [-<n>] infile.. [{>|>>} outfile]
  41.  
  42. Options:
  43.    -<n>  Display the last n lines. n must be non-negative. Default is n=10
  44.    -h    Display this help screen
  45.    -H    Display another help screen
  46.    -q    Supress the output of ==> filename <==, if multiple files are
  47.          processed
  48.    -v    Display version info
  49.    -*    Display internal information (for debugging purposes)
  50.  
  51. -----------------------------------   -H   ------------------------------------
  52. TAIL v1.0 -- Show the last lines of text files
  53. Copr (c) 1992,1993 Richard Breuer. TAIL is freeware. No warranties.
  54.  
  55. Notes:
  56.    TAIL reads from stdin if a filename is -. The output is always directed 
  57.    to stdout. The errorlevel is set to 1 if help has been displayed. It is set
  58.    to 255 in case of an error and 0 on normal completion. Output resulting from
  59.    multiple input files is appended to stdout. The processing order for
  60.    wildcards depends on the order of the directory entries. TAIL outputs
  61.    nonsense for binary files.
  62.  
  63. Examples:
  64.    TAIL *.TXT
  65.       Process all *.TXT files in the current directory and append them to
  66.       stdout. The order is the one DOS's dir tells you.
  67.    DIR | TAIL -4
  68.       Display the last 4 lines of the directory.
  69.    TAIL HEADER.TXT - FOOTER.TXT
  70.       After processing HEADER.TXT the user must input text from the keyboard
  71.       until Ctrl/Z (=EOF) is detected. Then FOOTER.TXT is processed. All output
  72.       is appended on stdout.
  73.  
  74. -------------------------------------------------------------------------------
  75. Additional information:
  76.    TAIL is a re-implementation of the Unix command with the same name. The main
  77.    differences are, that unix tail has some other switches.
  78.